package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 电享生活APP 服务表
 * </p>
 *
 * @author lcc
 * @since 2020-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DxshAppServices implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 服务ID
     */
    private Integer id;

    /**
     * 服务标题
     */
    private String title;

    /**
     * 服务简介
     */
    private String descs;

    /**
     * 服务详情
     */
    private String details;

    /**
     * 封面图
     */
    private String cover;

    /**
     * 服务轮播图（JSON格式）
     */
    private String banner;

    private BigDecimal price;

    /**
     * 所属范围
     */
    private String ranges;

    /**
     * 所属子类ID
     */
    private Integer sonId;

    /**
     * 是否下架 0 不下架  1下架
     */
    private Integer isOff;

    /**
     * 是否删除 0不删除 1删除
     */
    private Integer isDelete;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    private LocalDateTime newTime;

    /**
     * 浏览量
     */
    private Integer viewNum = 0;

    /**
     * 购买量
     */
    private Integer buyNum = 0;

    /**
     * 线索量
     */
    private Integer clueNum = 0;


    public static final String ID = "id";

    public static final String TITLE = "title";

    public static final String DESCS = "descs";

    public static final String COVER = "cover";

    public static final String BANNER = "banner";

    public static final String PRICE = "price";

    public static final String RANGES = "ranges";

    public static final String SON_ID = "son_id";

    public static final String IS_OFF = "is_off";

    public static final String IS_DELETE = "is_delete";

    public static final String UPDATE_TIME = "update_time";

    public static final String NEW_TIME = "new_time";

    public static final String VIEW_NUM = "view_num";

    public static final String BUY_NUM = "buy_num";

    public static final String CLUE_NUM = "clue_num";

}
